package com.inforich.disposal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.inforich.common.core.domain.BaseParamEntity;
import com.inforich.common.annotation.Excel;
import javax.validation.constraints.Max;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.inforich.common.core.domain.BaseEntity;

/**
 * 处置终端车辆进场明细对象 br_disposal_land_terminal_vehicle_approach
 *
 * @author hjm
 * @date 2022-10-25
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@TableName("br_disposal_land_terminal_vehicle_approach")
public class DisposalLandTerminalVehicleApproach extends BaseParamEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId(type = IdType.AUTO)
  private Long id;

  /**
   * 处置地
   */
  private Long disposalLandId;
  @Excel(name = "资源利用化企业")
  @TableField(exist = false)
  private String disposalLandName;
  /**
   * 项目ID
   */
  private String projectId;
  @Excel(name = "项目名称")
  private String projectName;
  @Excel(name = "地磅")
  @TableField(exist = false)
  private String garbageTypeName;
  /**
   * 过磅类型( 10:进厂;20:出厂 )
   */
  @Excel(name = "过磅类型", dictType = "weighing_type")
  private Long weighingType;
  /**
   * 流水号
   */
  @Excel(name = "流水号")
  @Size(max = 255)
  private String serialNumber;
  /**
   * 车牌号
   */
  @Excel(name = "车牌号")
  @Size(max = 255)
  private String carNumber;
  /**
   * 创建时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  private Date createData;
  /**
   * 回收垃圾类型( 10:工程垃圾;20:装修垃圾;30:拆迁垃圾;40:其他 )
   */
  @Excel(name = "垃圾类型", dictType = "garbage_type")
  private Long garbageType;
  /**
   * 垃圾重量
   */
  @Excel(name = "实重", isStatistics = true)
  private BigDecimal garbageWeight;
  /**
   * 净重
   */
  @Excel(name = "净重", isStatistics = true)
  private BigDecimal netWeight;
  /**
   * 大图片-净重图片
   */
  private String tareImg;
  /**
   * 皮重
   */
  @Excel(name = "皮重", isStatistics = true)
  private BigDecimal tare;
  /**
   * 皮重时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @Excel(name = "皮重时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  private Date tareTime;
  /**
   * 皮重司磅员
   */
  @Excel(name = "皮重司磅员")
  @Size(max = 255)
  private String tareWeigher;
  /**
   * 皮重磅号
   */
  @Excel(name = "皮重磅号")
  @Size(max = 255)
  private String tareHeavy;

  /**
   * 毛重
   */
  @Excel(name = "毛重", isStatistics = true)
  private BigDecimal grossWeight;
  /**
   * 毛重时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @Excel(name = "毛重时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  private Date grossWeightTime;
  /**
   * 毛重司磅员
   */
  @Excel(name = "毛重司磅员")
  @Size(max = 255)
  private String grossWeightman;
  /**
   * 毛重磅号
   */
  @Excel(name = "毛重磅号")
  @Size(max = 255)
  private String grossHeavyweight;
  /**
   * 总图片-毛重图片
   */
  private String grossImg;

  /**
   * 扣重
   */
  @Excel(name = "扣重", isStatistics = true)
  private BigDecimal deduction;
  /**
   * 方量
   */
  @Excel(name = "方量")
  private BigDecimal squareAmount;
  /**
   * 折方系数
   */
  @Excel(name = "折方系数")
  private BigDecimal factor;
  /**
   * 一次过磅重
   */
  @Excel(name = "一次过磅重", isStatistics = true)
  private BigDecimal oneWeighing;
  /**
   * 一次过磅时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @Excel(name = "一次过磅时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  private Date weighingTime;
  /**
   * 二次过磅重
   */
  @Excel(name = "二次过磅重", isStatistics = true)
  private BigDecimal secondWeighing;
  /**
   * 二次过磅时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @Excel(name = "二次过磅时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  private Date secondWeighingTime;
  /**
   * 货名
   */
  @Excel(name = "货名")
  @Size(max = 255)
  private String goodsName;
  /**
   * 发货单位
   */
  @Excel(name = "发货单位")
  @Size(max = 255)
  private String shipper;
  /**
   * 收货单位
   */
  @Excel(name = "收货单位")
  @Size(max = 255)
  private String receivingUnit;

  @Excel(name = "收货地址")
  @Size(max = 255)
  private String receivingAddress;

  /**
   * 规格
   */
  @Excel(name = "规格")
  @Size(max = 255)
  private String specification;
  /**
   * 单价
   */
  @Excel(name = "单价")
  private BigDecimal unitPrice;
  /**
   * 金额
   */
  @Excel(name = "金额", isStatistics = true)
  private BigDecimal amount;
  /**
   * 过磅费
   */
  @Excel(name = "过磅费", isStatistics = true)
  private BigDecimal weighingFee;

}